#!/usr/bin/env bash

### Use the --debug option to compile in debug mode
#SEAGULL_CONFIG=config.xml ./seagull/compile.py  --debug

### Drop the --only-changed option to compile all files (even when they haven't been changed)
#SEAGULL_CONFIG=config.xml ./seagull/page_compiler.py


if [[ $1 == '--all' ]]; then
	SEAGULL_CONFIG=config.xml ./seagull/page_compiler.py
else
	SEAGULL_CONFIG=config.xml ./seagull/page_compiler.py --only-changed
fi
